package com.yaozheng.vocationaltraining.view.paper;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.yaozheng.vocationaltraining.R;

import org.androidannotations.annotations.EViewGroup;
import org.androidannotations.annotations.ViewById;

/**
 * 一项题目标题
 */
@EViewGroup(R.layout.item_question_content)
public class ItemQuestionTitleView extends RelativeLayout {
    @ViewById
    TextView questionContentText;

    public ItemQuestionTitleView(Context context) {
        super(context);
    }

    public ItemQuestionTitleView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public void setContentValue(String contentValue) {
        questionContentText.setText(contentValue);
    }
}
